# 方式一
# for i in range(10):
#     print(i)
# for i in 'abcdefg':
#     print(i)
# for i in ['aaa', 'b', 'c', 1, 2]:
#     print(i)
# dic1 = {'a': 'A', 'b': 'B'}
# for i in dic1.values():
#     print(i)

# for i in range(10, 101, 2):
#     print(i)

# for i in range(100, 1, -1):
#     print(i)

# seq = ['one', 'two', 'three']
# for i, value in enumerate(seq):
#     print(i, value)

# 方式二
for i in range(10):
    print(i)
else:		# 当for条件不满足时，执行else语句
    print("执行else语句")